package com.hns.can.master.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hns.can.common.entity.BaseEntity;
import com.hns.tool.pub.PubUtil;

/**
 * 行车状态
 * @author:Fisher
 * @email:zhuangcaijin@126.com
 * @version Revision 2.0.0
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_COMM_DRIVE_STAT_INFO")
public class CommDriveStatInfoEntity extends BaseEntity {
    
    // Fields
    
    @Id
    @Column(name = "RCRD_ID")
    private String     rcrdId;
    @Column(name = "CORP_ID")
    private String     corpId;
    @Column(name = "ORGAN_ID")
    private String     organId;
    @Column(name = "LINE_ID")
    private String     lineId;
    @Column(name = "CAR_ID")
    private String     carId;
    @Column(name = "DRV_ID")
    private String     drvId;
    @Column(name = "RCRD_TIME")
    private String     rcrdTime;
    @Column(name = "RCRD_JRNL_NO")
    private String     rcrdJrnlNo;
    @Column(name = "EQMT_CODE")
    private String     eqmtCode;
    @Column(name = "LIC_PLT_NO")
    private String     licPltNo;
    @Column(name = "LINE_CODE")
    private String     lineCode;
    @Column(name = "SPD_OF_MOT_VHI")
    private BigDecimal spdOfMotVhi;
    @Column(name = "RTTE_SPD")
    private BigDecimal rtteSpd;
    @Column(name = "AVRG_FL_OIL_CSPT_RAT")
    private BigDecimal avrgFlOilCsptRat;
    @Column(name = "BRAKE_SWTC")
    private String     brakeSwtc;
    @Column(name = "ABS_WORK_ST")
    private String     absWorkSt;
    @Column(name = "GEARS_ST")
    private String     gearsSt;
    @Column(name = "TN_LT_ST")
    private String     tnLtSt;
    @Column(name = "FA_AD_NE_LAM_ST")
    private String     faAdNeLamSt;
    @Column(name = "FOLT_ST")
    private String     foltSt;
    @Column(name = "WDSN_WP_ST")
    private String     wdsnWpSt;
    @Column(name = "CRTI_TO_ALAM_SWTC")
    private String     crtiToAlamSwtc;
    @Column(name = "DR_OPN_ST")
    private String     drOpnSt;
    @Column(name = "LO_LGT")
    private BigDecimal     loLgt;
    @Column(name = "LO_LTT")
    private BigDecimal     loLtt;
    @Column(name = "LO_DRC")
    private BigDecimal loDrc;
    @Column(name = "GEN_TIME")
    private Date  genTime;
    @Column(name = "RESERVED_FIELD_1")
    private BigDecimal reservedField1;
    @Column(name = "RESERVED_FIELD_2")
    private BigDecimal reservedField2;
    @Column(name = "RESERVED_FIELD_3")
    private BigDecimal reservedField3;
    @Column(name = "RESERVED_FIELD_4")
    private BigDecimal reservedField4;
    @Column(name = "RESERVED_FIELD_5")
    private String     reservedField5;
    @Column(name = "RESERVED_FIELD_6")
    private String     reservedField6;
    @Column(name = "RESERVED_FIELD_7")
    private String     reservedField7;
    @Column(name = "RESERVED_FIELD_8")
    private String     reservedField8;
    
    // ------------------------------------------
    public static final String TABLENAME = "T_COMM_DRIVE_STAT_INFO";
    
    // -------------------------------------
    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        
        CommDriveStatInfoEntity other = (CommDriveStatInfoEntity) obj;
        
        if ((PubUtil.isEmpty(this.corpId) && PubUtil.isNotEmpty(other.corpId)) || !this.corpId.equals(other.corpId)) {
            return false;
        }
        
        if ((PubUtil.isEmpty(this.eqmtCode) && PubUtil.isNotEmpty(other.eqmtCode)) || !this.eqmtCode.equals(other.eqmtCode)) {
            return false;
        }
        
        if ((PubUtil.isEmpty(this.rcrdTime) && PubUtil.isNotEmpty(other.rcrdTime)) || !this.rcrdTime.equals(other.rcrdTime)) {
            return false;
        }
        
        return true;
    }
    
    // Constructors
    
    /** default constructor */
    public CommDriveStatInfoEntity() {
    }
    
    // Property accessors
    
    public String getRcrdId() {
        return this.rcrdId;
    }
    
    public void setRcrdId(String rcrdId) {
        this.rcrdId = rcrdId;
    }
    
    public String getCorpId() {
        return this.corpId;
    }
    
    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }
    
    public String getOrganId() {
        return this.organId;
    }
    
    public void setOrganId(String organId) {
        this.organId = organId;
    }
    
    public String getLineId() {
        return this.lineId;
    }
    
    public void setLineId(String lineId) {
        this.lineId = lineId;
    }
    
    public String getCarId() {
        return this.carId;
    }
    
    public void setCarId(String carId) {
        this.carId = carId;
    }
    
    public String getDrvId() {
        return this.drvId;
    }
    
    public void setDrvId(String drvId) {
        this.drvId = drvId;
    }
    
    public String getRcrdTime() {
        return this.rcrdTime;
    }
    
    public void setRcrdTime(String rcrdTime) {
        this.rcrdTime = rcrdTime;
    }
    
    public String getRcrdJrnlNo() {
        return this.rcrdJrnlNo;
    }
    
    public void setRcrdJrnlNo(String rcrdJrnlNo) {
        this.rcrdJrnlNo = rcrdJrnlNo;
    }
    
    public String getEqmtCode() {
        return this.eqmtCode;
    }
    
    public void setEqmtCode(String eqmtCode) {
        this.eqmtCode = eqmtCode;
    }
    
    public String getLicPltNo() {
        return this.licPltNo;
    }
    
    public void setLicPltNo(String licPltNo) {
        this.licPltNo = licPltNo;
    }
    
    public String getLineCode() {
        return this.lineCode;
    }
    
    public void setLineCode(String lineCode) {
        this.lineCode = lineCode;
    }
    
    public BigDecimal getSpdOfMotVhi() {
        return this.spdOfMotVhi;
    }
    
    public void setSpdOfMotVhi(BigDecimal spdOfMotVhi) {
        this.spdOfMotVhi = spdOfMotVhi;
    }
    
    public BigDecimal getRtteSpd() {
        return this.rtteSpd;
    }
    
    public void setRtteSpd(BigDecimal rtteSpd) {
        this.rtteSpd = rtteSpd;
    }
    
    public BigDecimal getAvrgFlOilCsptRat() {
        return this.avrgFlOilCsptRat;
    }
    
    public void setAvrgFlOilCsptRat(BigDecimal avrgFlOilCsptRat) {
        this.avrgFlOilCsptRat = avrgFlOilCsptRat;
    }
    
    public String getBrakeSwtc() {
        return this.brakeSwtc;
    }
    
    public void setBrakeSwtc(String brakeSwtc) {
        this.brakeSwtc = brakeSwtc;
    }
    
    public String getAbsWorkSt() {
        return this.absWorkSt;
    }
    
    public void setAbsWorkSt(String absWorkSt) {
        this.absWorkSt = absWorkSt;
    }
    
    public String getGearsSt() {
        return this.gearsSt;
    }
    
    public void setGearsSt(String gearsSt) {
        this.gearsSt = gearsSt;
    }
    
    public String getTnLtSt() {
        return this.tnLtSt;
    }
    
    public void setTnLtSt(String tnLtSt) {
        this.tnLtSt = tnLtSt;
    }
    
    public String getFaAdNeLamSt() {
        return this.faAdNeLamSt;
    }
    
    public void setFaAdNeLamSt(String faAdNeLamSt) {
        this.faAdNeLamSt = faAdNeLamSt;
    }
    
    public String getFoltSt() {
        return this.foltSt;
    }
    
    public void setFoltSt(String foltSt) {
        this.foltSt = foltSt;
    }
    
    public String getWdsnWpSt() {
        return this.wdsnWpSt;
    }
    
    public void setWdsnWpSt(String wdsnWpSt) {
        this.wdsnWpSt = wdsnWpSt;
    }
    
    public String getCrtiToAlamSwtc() {
        return this.crtiToAlamSwtc;
    }
    
    public void setCrtiToAlamSwtc(String crtiToAlamSwtc) {
        this.crtiToAlamSwtc = crtiToAlamSwtc;
    }
    
    public String getDrOpnSt() {
        return this.drOpnSt;
    }
    
    public void setDrOpnSt(String drOpnSt) {
        this.drOpnSt = drOpnSt;
    }
    
    public BigDecimal getLoLgt() {
        return this.loLgt;
    }
    
    public void setLoLgt(BigDecimal loLgt) {
        this.loLgt = loLgt;
    }
    
    public BigDecimal getLoLtt() {
        return this.loLtt;
    }
    
    public void setLoLtt(BigDecimal loLtt) {
        this.loLtt = loLtt;
    }
    
    public BigDecimal getLoDrc() {
        return this.loDrc;
    }
    
    public void setLoDrc(BigDecimal loDrc) {
        this.loDrc = loDrc;
    }
    
    public Date getGenTime() {
        return this.genTime;
    }
    
    public void setGenTime(Date genTime) {
        this.genTime = genTime;
    }
    
    public BigDecimal getReservedField1() {
        return this.reservedField1;
    }
    
    public void setReservedField1(BigDecimal reservedField1) {
        this.reservedField1 = reservedField1;
    }
    
    public BigDecimal getReservedField2() {
        return this.reservedField2;
    }
    
    public void setReservedField2(BigDecimal reservedField2) {
        this.reservedField2 = reservedField2;
    }
    
    public BigDecimal getReservedField3() {
        return this.reservedField3;
    }
    
    public void setReservedField3(BigDecimal reservedField3) {
        this.reservedField3 = reservedField3;
    }
    
    public BigDecimal getReservedField4() {
        return this.reservedField4;
    }
    
    public void setReservedField4(BigDecimal reservedField4) {
        this.reservedField4 = reservedField4;
    }
    
    public String getReservedField5() {
        return this.reservedField5;
    }
    
    public void setReservedField5(String reservedField5) {
        this.reservedField5 = reservedField5;
    }
    
    public String getReservedField6() {
        return this.reservedField6;
    }
    
    public void setReservedField6(String reservedField6) {
        this.reservedField6 = reservedField6;
    }
    
    public String getReservedField7() {
        return this.reservedField7;
    }
    
    public void setReservedField7(String reservedField7) {
        this.reservedField7 = reservedField7;
    }
    
    public String getReservedField8() {
        return this.reservedField8;
    }
    
    public void setReservedField8(String reservedField8) {
        this.reservedField8 = reservedField8;
    }
    
}
